package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.model.domain.PhotoGallery;
import com.weixing.mall.provider.model.dto.PhotoChgDto;
import com.weixing.mall.provider.model.dto.PhotoGalleryDto;
import com.weixing.mall.provider.model.query.PhotoGalleryQuery;
import com.weixing.mall.provider.model.vo.PhotoGalleryVo;

/**
 * <p>
 * 商品模块-图片库表 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
public interface IPhotoGalleryService extends IService<PhotoGallery> {

    /**
     * @Description 保存图片库 <br/>
     * @author gjq
     * @date 2019/8/8 11:05
     * @param photoGalleryDto
     * @return void
     */
    void save(PhotoGalleryDto photoGalleryDto);
    /**
     * @Description 分页条件查询 <br/>
     * @author gjq
     * @date 2019/8/9 14:43
     * @param photoGalleryQuery
     * @return java.util.List<com.weixing.mall.provider.model.vo.PhotoGalleryVo>
     */
    IPage<PhotoGalleryVo> selectOfPage(Page page, PhotoGalleryQuery photoGalleryQuery);

    int update(PhotoChgDto photoChgDto);
}
